package com.centit.springbootdemo04.configuration;

import com.centit.springbootdemo04.DI.TestA;
import com.centit.springbootdemo04.DI.TestB;
import com.centit.springbootdemo04.compomentscan.TestComponentScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhao_jx
 * @date 2020/7/5 17:19
 */
@Configuration
//@ComponentScan("com.centit.springbootdemo04.compomentscan")
public class TestConfiguration {

    @Bean
    public TestBean testBean(){
        return new TestBean();
    }
}
